<template>
  <view>
    <web-view :webview-styles="webviewStyles" :src="src"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      webviewStyles: {
        progress: {
          color: '#FF3333'
        }
      },
      src:""
    }
  },
  onReady(){
    uni.setNavigationBarTitle({
      title:""
    });
  },
  onLoad(e){

    console.log('111111',e);
    this.src=decodeURIComponent(e.src);
    setTimeout(() => {
      uni.setNavigationBarTitle({
        title:e.title
      });
    }, 4000);
    console.log(this.src);
  }
}
</script>

<style>

</style>